﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using RMS.Utils.MVP;
using RMS.Web.Shell.Presenter;
using RMS.Web.Shell.View;

namespace RMS.Account
{
    public partial class ChangePassword : Page<ChangePasswordPresenter>,IChangePasswordView
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnChangePassword_Click(object sender, EventArgs e)
        {
            if (this.Presenter.ChangePassword(txtOldPassword.Text, txtNewPassword.Text))
                Notification.Show();
            else
                Notification.Show("Please Inter old Password");
        }
    }
}
